import { defHttp } from '/@/utils/http/axios';

/**
 * 固定资产信息表api
 *
 * @author admin
 * @date 2022/11/19 18:06
 */
export class FixedAssetsInformationApi {
  /**
   * 获取分页列表
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static findPage(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/page', params });
  }

  /**
   * 新增
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static add(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/add', params });
  }

  /**
   * 修改
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static edit(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/edit', params });
  }

  /**
   * 删除
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static delete(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/delete', params });
  }

  /**
   * 详情
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static detail(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/detail', params });
  }

  /**
   * 借出
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static lend(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/lend', params });
  }

  /**
   * 归还
   *
   * @author admin
   * @date 2022/11/19 18:06
   */
  static back(params) {
    return defHttp.post({ url: '/fixedAssetsInformation/back', params });
  }
}
